<?php

namespace app\data\model;

use think\admin\Model;

/**
 * 商城订单详情模型
 * Class ShopOrderDetail
 * @package app\data\model
 */
class ShopOrderDetail extends Model
{
    public static function getDetail(string $field = '', $where = []): array
    {
       return self::mk()->where($where)->field($field)->find()->toArray();
    }
    public static function getLists(string $field = '', $where = []): array
    {
       return self::mk()->where($where)->field($field)->select()->toArray();
    }
}
